package cn.interestingshop.dao;

import cn.interestingshop.entity.Classify;
import cn.interestingshop.entity.Goods;
import cn.interestingshop.utils.ClassifyVo;

import java.util.List;

public interface ClassifyVoDao {
    List<ClassifyVo> selectAll();

    List<Classify> selectAllon(Integer currentPageNo, Integer pageSize);

    int selectAllCount();

    int deleteById(int id);

    Classify selectOne(int id);

    List<Classify> selectOneType(int type);

    int update(int id,String classifyName,int classifyLevel1,int classifyLevel2);

    int insert(int type,String classifyName,int classifyLevel1,int classifyLevel2);



}
